﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DTO
{
    public class SAN_PHAM
    {
        private int masp;

        public int Masp
        {
            get { return masp; }
            set { masp = value; }
        }
        private string hinhdaidien;

        public string Hinhdaidien
        {
            get { return hinhdaidien; }
            set { hinhdaidien = value; }
        }
        private string tensp;

        public string Tensp
        {
            get { return tensp; }
            set { tensp = value; }
        }
       
        private int maloaisp;

        public int Maloaisp
        {
            get { return maloaisp; }
            set { maloaisp = value; }
        }
        private DateTime tgbatdau;

        public DateTime Tgbatdau
        {
            get { return tgbatdau; }
            set { tgbatdau = value; }
        }
        private DateTime tgketthuc;

        public DateTime Tgketthuc
        {
            get { return tgketthuc; }
            set { tgketthuc = value; }
        }
        private int soluong;

        public int Soluong
        {
            get { return soluong; }
            set { soluong = value; }
        }
        private int soluongdaban;

        public int Soluongdaban
        {
            get { return soluongdaban; }
            set { soluongdaban = value; }
        }
        private int matinh;

        public int Matinh
        {
            get { return matinh; }
            set { matinh = value; }
        }
        private string dkapdung;

        public string Dkapdung
        {
            get { return dkapdung; }
            set { dkapdung = value; }
        }
        private string diemnoibat;

        public string Diemnoibat
        {
            get { return diemnoibat; }
            set { diemnoibat = value; }
        }
        private int giagoc;

        public int Giagoc
        {
            get { return giagoc; }
            set { giagoc = value; }
        }
        private int giaban;

        public int Giaban
        {
            get { return giaban; }
            set { giaban = value; }
        }
        private int trangthai;

        public int Trangthai
        {
            get { return trangthai; }
            set { trangthai = value; }
        }
    }
    public enum sanphamcolum
    {
        MASP,
        TEN_SP,
        HINH_DAI_DIEN,
        MA_LOAI_SP,
        TG_BAT_DAU,
        TG_KET_THUC,
        SO_LUONG,
        SO_LUONG_DA_BAN,
        MAT_INH,
        DIEU_KIEN_AP_DUNG,
        DIEM_NOIBAT,
        GIA_GOC, GIA_BAN, 
        TRANG_THAI

    
    }
    public class SANPHAMcollection : List<SAN_PHAM>
    { }
}
